home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 14437 < prev    next >
Encoding:
Text File  |  1996-08-05  |  929 b   |  25 lines

  1. Newsgroups: comp.lang.c
  2. Path: netcom.com!smryan
  3. From: smryan@netcom.com (@#$%!?!)
  4. Subject: Re: New C Programmer Needs Help
  5. Message-ID: <smryanDpuD3J.C7H@netcom.com>
  6. Organization: The Programmer formerly known as S M Ryan
  7. X-Newsreader: TIN [version 1.2 PL1]
  8. References: <4koqmo$1o7@news1.h1.usa.pipeline.com>
  9. Date: Sun, 14 Apr 1996 07:35:43 GMT
  10. Sender: smryan@netcom13.netcom.com
  11.  
  12. : I need to read data from a text file into an array for sorting (using
  13. : QSORT).  Can someone tell me how to do this???  
  14.  
  15. You fopen a file and then either fscanf the data or fgets and sscanf the 
  16. data. 
  17.  
  18. These functions are in <stdio.h>.
  19.  
  20. -- 
  21. The Queen, amused, in quiet power,         | smryan@netcom.com  PO Box 1563
  22. will draw the son to darkenned bower.      |          Cupertino, California
  23. Her face is fair, her fragrance rare,      | (xxx)xxx-xxxx            95015
  24. with woven webs for wayward flower.        |         I don't use no smileys
  25.